package com.lk.mall.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.Date;

/**
 * @author Lemonade
 * @description
 * @updateTime 2022/9/1 14:34
 */
@Data
@TableName("mall_user_token")
public class UserToken {
    //@TableId(value = "user_id", type = IdType.AUTO)
    @TableId(value = "user_id")
    private Long userId;

    private String token;

    private Date updateTime;

    private Date expireTime;
}
